{include file="common/header" title="日记_陈帅个人博客 - 正在使用杨青小仙女的模板" keywords="个人博客,陈帅个人博客,个人博客后台,陈帅" description="一个简单优雅的模板和一个复杂高效的后台" /}
<body>
<header>
{include file="common/nav" /}
</header>
{include file="common/backpic" /}
<article>
  <h1 class="t_nav"><span>您现在的位置是：{$data['info'][0]['tnav']}</span><a href="{$data['info'][0]['indexurl']}" class="n1">网站首页</a><a href="{$data['info'][0]['infourl']}" class="n2">日记</a></h1>
  <div class="infos">
    <div class="newsview">
      <h3 class="news_title">{$data['info'][0]['title']}</h3>
      <div class="news_author"><span class="au01"><a href="">{$data['info'][0]['author']}</a></span><span class="au02">{$data['info'][0]['publishtime']}</span><span class="au03">共<b>{$data['info'][0]['views']}</b>人围观</span></div>
      <div class="tags">
        {foreach $data['info'] as $key=>$vo }
        {if $key<3}
        <a href="{$vo['tagurl']}" target="_blank">{$vo['tagname']}</a>
        {/if}
        {/foreach}
      </div>
      <div class="news_about"><strong>简介</strong>{$data['info'][0]['simple']}</div>
      <div class="news_infos">
        {$data['info'][0]['content']}
      </div>
    </div>
    <div class="share"> </div>
    <div class="nextinfo">
      {if isset($data['info'][0]['left']) || !empty($data['info'][0]['left'])}
      <p>上一篇：<a href="{$data['info'][0]['left']}">{$data['info'][0]['lefttitle']}</a></p>
      {else /}
      <p>上一篇：<a href="$data['info'][0]['infourl']">暂无文章</a></p>
      {/if}
      {if isset($data['info'][0]['right']) || !empty($data['info'][0]['right'])}
      <p>下一篇：<a href="{$data['info'][0]['right']}">{$data['info'][0]['righttitle']}</a></p>
      {else /}
      <p>下一篇：<a href="$data['info'][0]['infourl']">暂无文章</a></p>
      {/if}
    </div>
    <div class="otherlink">
      <h2>相关文章</h2>
      <ul>
        {foreach $data['info'] as $key=>$vo}
        <li><a href="{$vo['relatedurl']}" title="{$vo['relatedname']}">{$vo['relatedname']}</a></li>
        {/foreach}
      </ul>
    </div>
    <div class="news_pl">
      <h2>文章评论</h2>
      <ul>
        <div class="gbko"> </div>
      </ul>
    {include file="common/comment" /}
    </div>
  </div>
  <div class="sidebar">
    {include file="common/search" /}
    {include file="common/lmnav" hometitle="栏目导航"/}
    {include file="common/rank" /}
    {include file="common/cloud" hometitle="标签云"/}
    {include file="common/recommendation" /}
    {include file="common/wechat" /}
    {include file="common/ad" /}
  </div>
</article>
{include file="common/footer" blogurl="http://www.baidu.com" blogname="陈帅个人博客"  /}
{js href="/static/js/jquery-2.1.1.min.js" /}
<script type="text/javascript">
jQuery.noConflict();
jQuery(function() { 
    var elm = jQuery('#left_flow2'); 
    var startPos = jQuery(elm).offset().top; 
    jQuery.event.add(window, "scroll", function() { 
        var p = jQuery(window).scrollTop(); 
        jQuery(elm).css('position',((p) > startPos) ? 'fixed' : ''); 

        jQuery(elm).css('top',((p) > startPos) ? '0' : '');
    }); 
}); 
</script>
</body>
</html>
